import { defineComponent as Ft, reactive as vt, watch as zt, toRefs as $t } from "vue-demi";
import { openBlock as O, createElementBlock as Y, createElementVNode as g, toDisplayString as D, createCommentVNode as et, pushScopeId as Ht, popScopeId as Vt } from "vue";
const Kt = /-(\w)/g;
function Ct(t) {
  return t.replace(Kt, (e, i) => i.toUpperCase());
}
const Jt = "frog";
function Ot(t) {
  return t = `${Jt}-${t}`, [t, Ct(`-${t}`)];
}
function Yt(t) {
  return t.install = (e) => {
    const i = t.name, [r, o] = Ot(i);
    e.component(r, t), e.component(o, t), e.component(i, t), e.component(Ct(`-${i}`), t);
  }, t;
}
var K = {}, jt = function() {
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
}, Et = {}, N = {};
let ft;
const Qt = [
  0,
  26,
  44,
  70,
  100,
  134,
  172,
  196,
  242,
  292,
  346,
  404,
  466,
  532,
  581,
  655,
  733,
  815,
  901,
  991,
  1085,
  1156,
  1258,
  1364,
  1474,
  1588,
  1706,
  1828,
  1921,
  2051,
  2185,
  2323,
  2465,
  2611,
  2761,
  2876,
  3034,
  3196,
  3362,
  3532,
  3706
];
N.getSymbolSize = function(e) {
  if (!e)
    throw new Error('"version" cannot be null or undefined');
  if (e < 1 || e > 40)
    throw new Error('"version" should be in range from 1 to 40');
  return e * 4 + 17;
};
N.getSymbolTotalCodewords = function(e) {
  return Qt[e];
};
N.getBCHDigit = function(t) {
  let e = 0;
  for (; t !== 0; )
    e++, t >>>= 1;
  return e;
};
N.setToSJISFunction = function(e) {
  if (typeof e != "function")
    throw new Error('"toSJISFunc" is not a valid function.');
  ft = e;
};
N.isKanjiModeEnabled = function() {
  return typeof ft < "u";
};
N.toSJIS = function(e) {
  return ft(e);
};
var W = {};
(function(t) {
  t.L = { bit: 1 }, t.M = { bit: 0 }, t.Q = { bit: 3 }, t.H = { bit: 2 };
  function e(i) {
    if (typeof i != "string")
      throw new Error("Param is not a string");
    switch (i.toLowerCase()) {
      case "l":
      case "low":
        return t.L;
      case "m":
      case "medium":
        return t.M;
      case "q":
      case "quartile":
        return t.Q;
      case "h":
      case "high":
        return t.H;
      default:
        throw new Error("Unknown EC Level: " + i);
    }
  }
  t.isValid = function(r) {
    return r && typeof r.bit < "u" && r.bit >= 0 && r.bit < 4;
  }, t.from = function(r, o) {
    if (t.isValid(r))
      return r;
    try {
      return e(r);
    } catch {
      return o;
    }
  };
})(W);
function Bt() {
  this.buffer = [], this.length = 0;
}
Bt.prototype = {
  get: function(t) {
    const e = Math.floor(t / 8);
    return (this.buffer[e] >>> 7 - t % 8 & 1) === 1;
  },
  put: function(t, e) {
    for (let i = 0; i < e; i++)
      this.putBit((t >>> e - i - 1 & 1) === 1);
  },
  getLengthInBits: function() {
    return this.length;
  },
  putBit: function(t) {
    const e = Math.floor(this.length / 8);
    this.buffer.length <= e && this.buffer.push(0), t && (this.buffer[e] |= 128 >>> this.length % 8), this.length++;
  }
};
var Gt = Bt;
function J(t) {
  if (!t || t < 1)
    throw new Error("BitMatrix size must be defined and greater than 0");
  this.size = t, this.data = new Uint8Array(t * t), this.reservedBit = new Uint8Array(t * t);
}
J.prototype.set = function(t, e, i, r) {
  const o = t * this.size + e;
  this.data[o] = i, r && (this.reservedBit[o] = !0);
};
J.prototype.get = function(t, e) {
  return this.data[t * this.size + e];
};
J.prototype.xor = function(t, e, i) {
  this.data[t * this.size + e] ^= i;
};
J.prototype.isReserved = function(t, e) {
  return this.reservedBit[t * this.size + e];
};
var qt = J, _t = {};
(function(t) {
  const e = N.getSymbolSize;
  t.getRowColCoords = function(r) {
    if (r === 1)
      return [];
    const o = Math.floor(r / 7) + 2, n = e(r), s = n === 145 ? 26 : Math.ceil((n - 13) / (2 * o - 2)) * 2, c = [n - 7];
    for (let a = 1; a < o - 1; a++)
      c[a] = c[a - 1] - s;
    return c.push(6), c.reverse();
  }, t.getPositions = function(r) {
    const o = [], n = t.getRowColCoords(r), s = n.length;
    for (let c = 0; c < s; c++)
      for (let a = 0; a < s; a++)
        c === 0 && a === 0 || c === 0 && a === s - 1 || c === s - 1 && a === 0 || o.push([n[c], n[a]]);
    return o;
  };
})(_t);
var Tt = {};
const Wt = N.getSymbolSize, pt = 7;
Tt.getPositions = function(e) {
  const i = Wt(e);
  return [
    [0, 0],
    [i - pt, 0],
    [0, i - pt]
  ];
};
var At = {};
(function(t) {
  t.Patterns = {
    PATTERN000: 0,
    PATTERN001: 1,
    PATTERN010: 2,
    PATTERN011: 3,
    PATTERN100: 4,
    PATTERN101: 5,
    PATTERN110: 6,
    PATTERN111: 7
  };
  const e = {
    N1: 3,
    N2: 3,
    N3: 40,
    N4: 10
  };
  t.isValid = function(o) {
    return o != null && o !== "" && !isNaN(o) && o >= 0 && o <= 7;
  }, t.from = function(o) {
    return t.isValid(o) ? parseInt(o, 10) : void 0;
  }, t.getPenaltyN1 = function(o) {
    const n = o.size;
    let s = 0, c = 0, a = 0, u = null, l = null;
    for (let B = 0; B < n; B++) {
      c = a = 0, u = l = null;
      for (let p = 0; p < n; p++) {
        let f = o.get(B, p);
        f === u ? c++ : (c >= 5 && (s += e.N1 + (c - 5)), u = f, c = 1), f = o.get(p, B), f === l ? a++ : (a >= 5 && (s += e.N1 + (a - 5)), l = f, a = 1);
      }
      c >= 5 && (s += e.N1 + (c - 5)), a >= 5 && (s += e.N1 + (a - 5));
    }
    return s;
  }, t.getPenaltyN2 = function(o) {
    const n = o.size;
    let s = 0;
    for (let c = 0; c < n - 1; c++)
      for (let a = 0; a < n - 1; a++) {
        const u = o.get(c, a) + o.get(c, a + 1) + o.get(c + 1, a) + o.get(c + 1, a + 1);
        (u === 4 || u === 0) && s++;
      }
    return s * e.N2;
  }, t.getPenaltyN3 = function(o) {
    const n = o.size;
    let s = 0, c = 0, a = 0;
    for (let u = 0; u < n; u++) {
      c = a = 0;
      for (let l = 0; l < n; l++)
        c = c << 1 & 2047 | o.get(u, l), l >= 10 && (c === 1488 || c === 93) && s++, a = a << 1 & 2047 | o.get(l, u), l >= 10 && (a === 1488 || a === 93) && s++;
    }
    return s * e.N3;
  }, t.getPenaltyN4 = function(o) {
    let n = 0;
    const s = o.data.length;
    for (let a = 0; a < s; a++)
      n += o.data[a];
    return Math.abs(Math.ceil(n * 100 / s / 5) - 10) * e.N4;
  };
  function i(r, o, n) {
    switch (r) {
      case t.Patterns.PATTERN000:
        return (o + n) % 2 === 0;
      case t.Patterns.PATTERN001:
        return o % 2 === 0;
      case t.Patterns.PATTERN010:
        return n % 3 === 0;
      case t.Patterns.PATTERN011:
        return (o + n) % 3 === 0;
      case t.Patterns.PATTERN100:
        return (Math.floor(o / 2) + Math.floor(n / 3)) % 2 === 0;
      case t.Patterns.PATTERN101:
        return o * n % 2 + o * n % 3 === 0;
      case t.Patterns.PATTERN110:
        return (o * n % 2 + o * n % 3) % 2 === 0;
      case t.Patterns.PATTERN111:
        return (o * n % 3 + (o + n) % 2) % 2 === 0;
      default:
        throw new Error("bad maskPattern:" + r);
    }
  }
  t.applyMask = function(o, n) {
    const s = n.size;
    for (let c = 0; c < s; c++)
      for (let a = 0; a < s; a++)
        n.isReserved(a, c) || n.xor(a, c, i(o, a, c));
  }, t.getBestMask = function(o, n) {
    const s = Object.keys(t.Patterns).length;
    let c = 0, a = 1 / 0;
    for (let u = 0; u < s; u++) {
      n(u), t.applyMask(u, o);
      const l = t.getPenaltyN1(o) + t.getPenaltyN2(o) + t.getPenaltyN3(o) + t.getPenaltyN4(o);
      t.applyMask(u, o), l < a && (a = l, c = u);
    }
    return c;
  };
})(At);
var Z = {};
const k = W, j = [
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  2,
  2,
  1,
  2,
  2,
  4,
  1,
  2,
  4,
  4,
  2,
  4,
  4,
  4,
  2,
  4,
  6,
  5,
  2,
  4,
  6,
  6,
  2,
  5,
  8,
  8,
  4,
  5,
  8,
  8,
  4,
  5,
  8,
  11,
  4,
  8,
  10,
  11,
  4,
  9,
  12,
  16,
  4,
  9,
  16,
  16,
  6,
  10,
  12,
  18,
  6,
  10,
  17,
  16,
  6,
  11,
  16,
  19,
  6,
  13,
  18,
  21,
  7,
  14,
  21,
  25,
  8,
  16,
  20,
  25,
  8,
  17,
  23,
  25,
  9,
  17,
  23,
  34,
  9,
  18,
  25,
  30,
  10,
  20,
  27,
  32,
  12,
  21,
  29,
  35,
  12,
  23,
  34,
  37,
  12,
  25,
  34,
  40,
  13,
  26,
  35,
  42,
  14,
  28,
  38,
  45,
  15,
  29,
  40,
  48,
  16,
  31,
  43,
  51,
  17,
  33,
  45,
  54,
  18,
  35,
  48,
  57,
  19,
  37,
  51,
  60,
  19,
  38,
  53,
  63,
  20,
  40,
  56,
  66,
  21,
  43,
  59,
  70,
  22,
  45,
  62,
  74,
  24,
  47,
  65,
  77,
  25,
  49,
  68,
  81
], Q = [
  7,
  10,
  13,
  17,
  10,
  16,
  22,
  28,
  15,
  26,
  36,
  44,
  20,
  36,
  52,
  64,
  26,
  48,
  72,
  88,
  36,
  64,
  96,
  112,
  40,
  72,
  108,
  130,
  48,
  88,
  132,
  156,
  60,
  110,
  160,
  192,
  72,
  130,
  192,
  224,
  80,
  150,
  224,
  264,
  96,
  176,
  260,
  308,
  104,
  198,
  288,
  352,
  120,
  216,
  320,
  384,
  132,
  240,
  360,
  432,
  144,
  280,
  408,
  480,
  168,
  308,
  448,
  532,
  180,
  338,
  504,
  588,
  196,
  364,
  546,
  650,
  224,
  416,
  600,
  700,
  224,
  442,
  644,
  750,
  252,
  476,
  690,
  816,
  270,
  504,
  750,
  900,
  300,
  560,
  810,
  960,
  312,
  588,
  870,
  1050,
  336,
  644,
  952,
  1110,
  360,
  700,
  1020,
  1200,
  390,
  728,
  1050,
  1260,
  420,
  784,
  1140,
  1350,
  450,
  812,
  1200,
  1440,
  480,
  868,
  1290,
  1530,
  510,
  924,
  1350,
  1620,
  540,
  980,
  1440,
  1710,
  570,
  1036,
  1530,
  1800,
  570,
  1064,
  1590,
  1890,
  600,
  1120,
  1680,
  1980,
  630,
  1204,
  1770,
  2100,
  660,
  1260,
  1860,
  2220,
  720,
  1316,
  1950,
  2310,
  750,
  1372,
  2040,
  2430
];
Z.getBlocksCount = function(e, i) {
  switch (i) {
    case k.L:
      return j[(e - 1) * 4 + 0];
    case k.M:
      return j[(e - 1) * 4 + 1];
    case k.Q:
      return j[(e - 1) * 4 + 2];
    case k.H:
      return j[(e - 1) * 4 + 3];
    default:
      return;
  }
};
Z.getTotalCodewordsCount = function(e, i) {
  switch (i) {
    case k.L:
      return Q[(e - 1) * 4 + 0];
    case k.M:
      return Q[(e - 1) * 4 + 1];
    case k.Q:
      return Q[(e - 1) * 4 + 2];
    case k.H:
      return Q[(e - 1) * 4 + 3];
    default:
      return;
  }
};
var It = {}, X = {};
const H = new Uint8Array(512), G = new Uint8Array(256);
(function() {
  let e = 1;
  for (let i = 0; i < 255; i++)
    H[i] = e, G[e] = i, e <<= 1, e & 256 && (e ^= 285);
  for (let i = 255; i < 512; i++)
    H[i] = H[i - 255];
})();
X.log = function(e) {
  if (e < 1)
    throw new Error("log(" + e + ")");
  return G[e];
};
X.exp = function(e) {
  return H[e];
};
X.mul = function(e, i) {
  return e === 0 || i === 0 ? 0 : H[G[e] + G[i]];
};
(function(t) {
  const e = X;
  t.mul = function(r, o) {
    const n = new Uint8Array(r.length + o.length - 1);
    for (let s = 0; s < r.length; s++)
      for (let c = 0; c < o.length; c++)
        n[s + c] ^= e.mul(r[s], o[c]);
    return n;
  }, t.mod = function(r, o) {
    let n = new Uint8Array(r);
    for (; n.length - o.length >= 0; ) {
      const s = n[0];
      for (let a = 0; a < o.length; a++)
        n[a] ^= e.mul(o[a], s);
      let c = 0;
      for (; c < n.length && n[c] === 0; )
        c++;
      n = n.slice(c);
    }
    return n;
  }, t.generateECPolynomial = function(r) {
    let o = new Uint8Array([1]);
    for (let n = 0; n < r; n++)
      o = t.mul(o, new Uint8Array([1, e.exp(n)]));
    return o;
  };
})(It);
const Nt = It;
function dt(t) {
  this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
}
dt.prototype.initialize = function(e) {
  this.degree = e, this.genPoly = Nt.generateECPolynomial(this.degree);
};
dt.prototype.encode = function(e) {
  if (!this.genPoly)
    throw new Error("Encoder not initialized");
  const i = new Uint8Array(e.length + this.degree);
  i.set(e);
  const r = Nt.mod(i, this.genPoly), o = this.degree - r.length;
  if (o > 0) {
    const n = new Uint8Array(this.degree);
    return n.set(r, o), n;
  }
  return r;
};
var Zt = dt, bt = {}, L = {}, ht = {};
ht.isValid = function(e) {
  return !isNaN(e) && e >= 1 && e <= 40;
};
var S = {};
const Dt = "[0-9]+", Xt = "[A-Z $%*+\\-./:]+";
let V = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
V = V.replace(/u/g, "\\u");
const xt = "(?:(?![A-Z0-9 $%*+\\-./:]|" + V + `)(?:.|[\r
]))+`;
S.KANJI = new RegExp(V, "g");
S.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
S.BYTE = new RegExp(xt, "g");
S.NUMERIC = new RegExp(Dt, "g");
S.ALPHANUMERIC = new RegExp(Xt, "g");
const te = new RegExp("^" + V + "$"), ee = new RegExp("^" + Dt + "$"), ne = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
S.testKanji = function(e) {
  return te.test(e);
};
S.testNumeric = function(e) {
  return ee.test(e);
};
S.testAlphanumeric = function(e) {
  return ne.test(e);
};
(function(t) {
  const e = ht, i = S;
  t.NUMERIC = {
    id: "Numeric",
    bit: 1 << 0,
    ccBits: [10, 12, 14]
  }, t.ALPHANUMERIC = {
    id: "Alphanumeric",
    bit: 1 << 1,
    ccBits: [9, 11, 13]
  }, t.BYTE = {
    id: "Byte",
    bit: 1 << 2,
    ccBits: [8, 16, 16]
  }, t.KANJI = {
    id: "Kanji",
    bit: 1 << 3,
    ccBits: [8, 10, 12]
  }, t.MIXED = {
    bit: -1
  }, t.getCharCountIndicator = function(n, s) {
    if (!n.ccBits)
      throw new Error("Invalid mode: " + n);
    if (!e.isValid(s))
      throw new Error("Invalid version: " + s);
    return s >= 1 && s < 10 ? n.ccBits[0] : s < 27 ? n.ccBits[1] : n.ccBits[2];
  }, t.getBestModeForData = function(n) {
    return i.testNumeric(n) ? t.NUMERIC : i.testAlphanumeric(n) ? t.ALPHANUMERIC : i.testKanji(n) ? t.KANJI : t.BYTE;
  }, t.toString = function(n) {
    if (n && n.id)
      return n.id;
    throw new Error("Invalid mode");
  }, t.isValid = function(n) {
    return n && n.bit && n.ccBits;
  };
  function r(o) {
    if (typeof o != "string")
      throw new Error("Param is not a string");
    switch (o.toLowerCase()) {
      case "numeric":
        return t.NUMERIC;
      case "alphanumeric":
        return t.ALPHANUMERIC;
      case "kanji":
        return t.KANJI;
      case "byte":
        return t.BYTE;
      default:
        throw new Error("Unknown mode: " + o);
    }
  }
  t.from = function(n, s) {
    if (t.isValid(n))
      return n;
    try {
      return r(n);
    } catch {
      return s;
    }
  };
})(L);
(function(t) {
  const e = N, i = Z, r = W, o = L, n = ht, s = 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0, c = e.getBCHDigit(s);
  function a(p, f, y) {
    for (let w = 1; w <= 40; w++)
      if (f <= t.getCapacity(w, y, p))
        return w;
  }
  function u(p, f) {
    return o.getCharCountIndicator(p, f) + 4;
  }
  function l(p, f) {
    let y = 0;
    return p.forEach(function(w) {
      const A = u(w.mode, f);
      y += A + w.getBitsLength();
    }), y;
  }
  function B(p, f) {
    for (let y = 1; y <= 40; y++)
      if (l(p, y) <= t.getCapacity(y, f, o.MIXED))
        return y;
  }
  t.from = function(f, y) {
    return n.isValid(f) ? parseInt(f, 10) : y;
  }, t.getCapacity = function(f, y, w) {
    if (!n.isValid(f))
      throw new Error("Invalid QR Code version");
    typeof w > "u" && (w = o.BYTE);
    const A = e.getSymbolTotalCodewords(f), m = i.getTotalCodewordsCount(f, y), C = (A - m) * 8;
    if (w === o.MIXED)
      return C;
    const h = C - u(w, f);
    switch (w) {
      case o.NUMERIC:
        return Math.floor(h / 10 * 3);
      case o.ALPHANUMERIC:
        return Math.floor(h / 11 * 2);
      case o.KANJI:
        return Math.floor(h / 13);
      case o.BYTE:
      default:
        return Math.floor(h / 8);
    }
  }, t.getBestVersionForData = function(f, y) {
    let w;
    const A = r.from(y, r.M);
    if (Array.isArray(f)) {
      if (f.length > 1)
        return B(f, A);
      if (f.length === 0)
        return 1;
      w = f[0];
    } else
      w = f;
    return a(w.mode, w.getLength(), A);
  }, t.getEncodedBits = function(f) {
    if (!n.isValid(f) || f < 7)
      throw new Error("Invalid QR Code version");
    let y = f << 12;
    for (; e.getBCHDigit(y) - c >= 0; )
      y ^= s << e.getBCHDigit(y) - c;
    return f << 12 | y;
  };
})(bt);
var Mt = {};
const at = N, St = 1 << 10 | 1 << 8 | 1 << 5 | 1 << 4 | 1 << 2 | 1 << 1 | 1 << 0, oe = 1 << 14 | 1 << 12 | 1 << 10 | 1 << 4 | 1 << 1, yt = at.getBCHDigit(St);
Mt.getEncodedBits = function(e, i) {
  const r = e.bit << 3 | i;
  let o = r << 10;
  for (; at.getBCHDigit(o) - yt >= 0; )
    o ^= St << at.getBCHDigit(o) - yt;
  return (r << 10 | o) ^ oe;
};
var Pt = {};
const re = L;
function U(t) {
  this.mode = re.NUMERIC, this.data = t.toString();
}
U.getBitsLength = function(e) {
  return 10 * Math.floor(e / 3) + (e % 3 ? e % 3 * 3 + 1 : 0);
};
U.prototype.getLength = function() {
  return this.data.length;
};
U.prototype.getBitsLength = function() {
  return U.getBitsLength(this.data.length);
};
U.prototype.write = function(e) {
  let i, r, o;
  for (i = 0; i + 3 <= this.data.length; i += 3)
    r = this.data.substr(i, 3), o = parseInt(r, 10), e.put(o, 10);
  const n = this.data.length - i;
  n > 0 && (r = this.data.substr(i), o = parseInt(r, 10), e.put(o, n * 3 + 1));
};
var ie = U;
const se = L, nt = [
  "0",
  "1",
  "2",
  "3",
  "4",
  "5",
  "6",
  "7",
  "8",
  "9",
  "A",
  "B",
  "C",
  "D",
  "E",
  "F",
  "G",
  "H",
  "I",
  "J",
  "K",
  "L",
  "M",
  "N",
  "O",
  "P",
  "Q",
  "R",
  "S",
  "T",
  "U",
  "V",
  "W",
  "X",
  "Y",
  "Z",
  " ",
  "$",
  "%",
  "*",
  "+",
  "-",
  ".",
  "/",
  ":"
];
function F(t) {
  this.mode = se.ALPHANUMERIC, this.data = t;
}
F.getBitsLength = function(e) {
  return 11 * Math.floor(e / 2) + 6 * (e % 2);
};
F.prototype.getLength = function() {
  return this.data.length;
};
F.prototype.getBitsLength = function() {
  return F.getBitsLength(this.data.length);
};
F.prototype.write = function(e) {
  let i;
  for (i = 0; i + 2 <= this.data.length; i += 2) {
    let r = nt.indexOf(this.data[i]) * 45;
    r += nt.indexOf(this.data[i + 1]), e.put(r, 11);
  }
  this.data.length % 2 && e.put(nt.indexOf(this.data[i]), 6);
};
var ae = F, ce = function(e) {
  for (var i = [], r = e.length, o = 0; o < r; o++) {
    var n = e.charCodeAt(o);
    if (n >= 55296 && n <= 56319 && r > o + 1) {
      var s = e.charCodeAt(o + 1);
      s >= 56320 && s <= 57343 && (n = (n - 55296) * 1024 + s - 56320 + 65536, o += 1);
    }
    if (n < 128) {
      i.push(n);
      continue;
    }
    if (n < 2048) {
      i.push(n >> 6 | 192), i.push(n & 63 | 128);
      continue;
    }
    if (n < 55296 || n >= 57344 && n < 65536) {
      i.push(n >> 12 | 224), i.push(n >> 6 & 63 | 128), i.push(n & 63 | 128);
      continue;
    }
    if (n >= 65536 && n <= 1114111) {
      i.push(n >> 18 | 240), i.push(n >> 12 & 63 | 128), i.push(n >> 6 & 63 | 128), i.push(n & 63 | 128);
      continue;
    }
    i.push(239, 191, 189);
  }
  return new Uint8Array(i).buffer;
};
const ue = ce, le = L;
function v(t) {
  this.mode = le.BYTE, this.data = new Uint8Array(ue(t));
}
v.getBitsLength = function(e) {
  return e * 8;
};
v.prototype.getLength = function() {
  return this.data.length;
};
v.prototype.getBitsLength = function() {
  return v.getBitsLength(this.data.length);
};
v.prototype.write = function(t) {
  for (let e = 0, i = this.data.length; e < i; e++)
    t.put(this.data[e], 8);
};
var fe = v;
const de = L, he = N;
function z(t) {
  this.mode = de.KANJI, this.data = t;
}
z.getBitsLength = function(e) {
  return e * 13;
};
z.prototype.getLength = function() {
  return this.data.length;
};
z.prototype.getBitsLength = function() {
  return z.getBitsLength(this.data.length);
};
z.prototype.write = function(t) {
  let e;
  for (e = 0; e < this.data.length; e++) {
    let i = he.toSJIS(this.data[e]);
    if (i >= 33088 && i <= 40956)
      i -= 33088;
    else if (i >= 57408 && i <= 60351)
      i -= 49472;
    else
      throw new Error(
        "Invalid SJIS character: " + this.data[e] + `
Make sure your charset is UTF-8`
      );
    i = (i >>> 8 & 255) * 192 + (i & 255), t.put(i, 13);
  }
};
var ge = z, Rt = { exports: {} };
(function(t) {
  var e = {
    single_source_shortest_paths: function(i, r, o) {
      var n = {}, s = {};
      s[r] = 0;
      var c = e.PriorityQueue.make();
      c.push(r, 0);
      for (var a, u, l, B, p, f, y, w, A; !c.empty(); ) {
        a = c.pop(), u = a.value, B = a.cost, p = i[u] || {};
        for (l in p)
          p.hasOwnProperty(l) && (f = p[l], y = B + f, w = s[l], A = typeof s[l] > "u", (A || w > y) && (s[l] = y, c.push(l, y), n[l] = u));
      }
      if (typeof o < "u" && typeof s[o] > "u") {
        var m = ["Could not find a path from ", r, " to ", o, "."].join("");
        throw new Error(m);
      }
      return n;
    },
    extract_shortest_path_from_predecessor_list: function(i, r) {
      for (var o = [], n = r; n; )
        o.push(n), i[n], n = i[n];
      return o.reverse(), o;
    },
    find_path: function(i, r, o) {
      var n = e.single_source_shortest_paths(i, r, o);
      return e.extract_shortest_path_from_predecessor_list(
        n,
        o
      );
    },
    PriorityQueue: {
      make: function(i) {
        var r = e.PriorityQueue, o = {}, n;
        i = i || {};
        for (n in r)
          r.hasOwnProperty(n) && (o[n] = r[n]);
        return o.queue = [], o.sorter = i.sorter || r.default_sorter, o;
      },
      default_sorter: function(i, r) {
        return i.cost - r.cost;
      },
      push: function(i, r) {
        var o = { value: i, cost: r };
        this.queue.push(o), this.queue.sort(this.sorter);
      },
      pop: function() {
        return this.queue.shift();
      },
      empty: function() {
        return this.queue.length === 0;
      }
    }
  };
  t.exports = e;
})(Rt);
(function(t) {
  const e = L, i = ie, r = ae, o = fe, n = ge, s = S, c = N, a = Rt.exports;
  function u(m) {
    return unescape(encodeURIComponent(m)).length;
  }
  function l(m, C, h) {
    const d = [];
    let E;
    for (; (E = m.exec(h)) !== null; )
      d.push({
        data: E[0],
        index: E.index,
        mode: C,
        length: E[0].length
      });
    return d;
  }
  function B(m) {
    const C = l(s.NUMERIC, e.NUMERIC, m), h = l(s.ALPHANUMERIC, e.ALPHANUMERIC, m);
    let d, E;
    return c.isKanjiModeEnabled() ? (d = l(s.BYTE, e.BYTE, m), E = l(s.KANJI, e.KANJI, m)) : (d = l(s.BYTE_KANJI, e.BYTE, m), E = []), C.concat(h, d, E).sort(function(T, b) {
      return T.index - b.index;
    }).map(function(T) {
      return {
        data: T.data,
        mode: T.mode,
        length: T.length
      };
    });
  }
  function p(m, C) {
    switch (C) {
      case e.NUMERIC:
        return i.getBitsLength(m);
      case e.ALPHANUMERIC:
        return r.getBitsLength(m);
      case e.KANJI:
        return n.getBitsLength(m);
      case e.BYTE:
        return o.getBitsLength(m);
    }
  }
  function f(m) {
    return m.reduce(function(C, h) {
      const d = C.length - 1 >= 0 ? C[C.length - 1] : null;
      return d && d.mode === h.mode ? (C[C.length - 1].data += h.data, C) : (C.push(h), C);
    }, []);
  }
  function y(m) {
    const C = [];
    for (let h = 0; h < m.length; h++) {
      const d = m[h];
      switch (d.mode) {
        case e.NUMERIC:
          C.push([
            d,
            { data: d.data, mode: e.ALPHANUMERIC, length: d.length },
            { data: d.data, mode: e.BYTE, length: d.length }
          ]);
          break;
        case e.ALPHANUMERIC:
          C.push([
            d,
            { data: d.data, mode: e.BYTE, length: d.length }
          ]);
          break;
        case e.KANJI:
          C.push([
            d,
            { data: d.data, mode: e.BYTE, length: u(d.data) }
          ]);
          break;
        case e.BYTE:
          C.push([
            { data: d.data, mode: e.BYTE, length: u(d.data) }
          ]);
      }
    }
    return C;
  }
  function w(m, C) {
    const h = {}, d = { start: {} };
    let E = ["start"];
    for (let _ = 0; _ < m.length; _++) {
      const T = m[_], b = [];
      for (let R = 0; R < T.length; R++) {
        const M = T[R], $ = "" + _ + R;
        b.push($), h[$] = { node: M, lastCount: 0 }, d[$] = {};
        for (let tt = 0; tt < E.length; tt++) {
          const P = E[tt];
          h[P] && h[P].node.mode === M.mode ? (d[P][$] = p(h[P].lastCount + M.length, M.mode) - p(h[P].lastCount, M.mode), h[P].lastCount += M.length) : (h[P] && (h[P].lastCount = M.length), d[P][$] = p(M.length, M.mode) + 4 + e.getCharCountIndicator(M.mode, C));
        }
      }
      E = b;
    }
    for (let _ = 0; _ < E.length; _++)
      d[E[_]].end = 0;
    return { map: d, table: h };
  }
  function A(m, C) {
    let h;
    const d = e.getBestModeForData(m);
    if (h = e.from(C, d), h !== e.BYTE && h.bit < d.bit)
      throw new Error('"' + m + '" cannot be encoded with mode ' + e.toString(h) + `.
 Suggested mode is: ` + e.toString(d));
    switch (h === e.KANJI && !c.isKanjiModeEnabled() && (h = e.BYTE), h) {
      case e.NUMERIC:
        return new i(m);
      case e.ALPHANUMERIC:
        return new r(m);
      case e.KANJI:
        return new n(m);
      case e.BYTE:
        return new o(m);
    }
  }
  t.fromArray = function(C) {
    return C.reduce(function(h, d) {
      return typeof d == "string" ? h.push(A(d, null)) : d.data && h.push(A(d.data, d.mode)), h;
    }, []);
  }, t.fromString = function(C, h) {
    const d = B(C, c.isKanjiModeEnabled()), E = y(d), _ = w(E, h), T = a.find_path(_.map, "start", "end"), b = [];
    for (let R = 1; R < T.length - 1; R++)
      b.push(_.table[T[R]].node);
    return t.fromArray(f(b));
  }, t.rawSplit = function(C) {
    return t.fromArray(
      B(C, c.isKanjiModeEnabled())
    );
  };
})(Pt);
const x = N, ot = W, me = Gt, pe = qt, ye = _t, we = Tt, ct = At, ut = Z, Ce = Zt, q = bt, Ee = Mt, Be = L, rt = Pt;
function _e(t, e) {
  const i = t.size, r = we.getPositions(e);
  for (let o = 0; o < r.length; o++) {
    const n = r[o][0], s = r[o][1];
    for (let c = -1; c <= 7; c++)
      if (!(n + c <= -1 || i <= n + c))
        for (let a = -1; a <= 7; a++)
          s + a <= -1 || i <= s + a || (c >= 0 && c <= 6 && (a === 0 || a === 6) || a >= 0 && a <= 6 && (c === 0 || c === 6) || c >= 2 && c <= 4 && a >= 2 && a <= 4 ? t.set(n + c, s + a, !0, !0) : t.set(n + c, s + a, !1, !0));
  }
}
function Te(t) {
  const e = t.size;
  for (let i = 8; i < e - 8; i++) {
    const r = i % 2 === 0;
    t.set(i, 6, r, !0), t.set(6, i, r, !0);
  }
}
function Ae(t, e) {
  const i = ye.getPositions(e);
  for (let r = 0; r < i.length; r++) {
    const o = i[r][0], n = i[r][1];
    for (let s = -2; s <= 2; s++)
      for (let c = -2; c <= 2; c++)
        s === -2 || s === 2 || c === -2 || c === 2 || s === 0 && c === 0 ? t.set(o + s, n + c, !0, !0) : t.set(o + s, n + c, !1, !0);
  }
}
function Ie(t, e) {
  const i = t.size, r = q.getEncodedBits(e);
  let o, n, s;
  for (let c = 0; c < 18; c++)
    o = Math.floor(c / 3), n = c % 3 + i - 8 - 3, s = (r >> c & 1) === 1, t.set(o, n, s, !0), t.set(n, o, s, !0);
}
function it(t, e, i) {
  const r = t.size, o = Ee.getEncodedBits(e, i);
  let n, s;
  for (n = 0; n < 15; n++)
    s = (o >> n & 1) === 1, n < 6 ? t.set(n, 8, s, !0) : n < 8 ? t.set(n + 1, 8, s, !0) : t.set(r - 15 + n, 8, s, !0), n < 8 ? t.set(8, r - n - 1, s, !0) : n < 9 ? t.set(8, 15 - n - 1 + 1, s, !0) : t.set(8, 15 - n - 1, s, !0);
  t.set(r - 8, 8, 1, !0);
}
function Ne(t, e) {
  const i = t.size;
  let r = -1, o = i - 1, n = 7, s = 0;
  for (let c = i - 1; c > 0; c -= 2)
    for (c === 6 && c--; ; ) {
      for (let a = 0; a < 2; a++)
        if (!t.isReserved(o, c - a)) {
          let u = !1;
          s < e.length && (u = (e[s] >>> n & 1) === 1), t.set(o, c - a, u), n--, n === -1 && (s++, n = 7);
        }
      if (o += r, o < 0 || i <= o) {
        o -= r, r = -r;
        break;
      }
    }
}
function be(t, e, i) {
  const r = new me();
  i.forEach(function(a) {
    r.put(a.mode.bit, 4), r.put(a.getLength(), Be.getCharCountIndicator(a.mode, t)), a.write(r);
  });
  const o = x.getSymbolTotalCodewords(t), n = ut.getTotalCodewordsCount(t, e), s = (o - n) * 8;
  for (r.getLengthInBits() + 4 <= s && r.put(0, 4); r.getLengthInBits() % 8 !== 0; )
    r.putBit(0);
  const c = (s - r.getLengthInBits()) / 8;
  for (let a = 0; a < c; a++)
    r.put(a % 2 ? 17 : 236, 8);
  return De(r, t, e);
}
function De(t, e, i) {
  const r = x.getSymbolTotalCodewords(e), o = ut.getTotalCodewordsCount(e, i), n = r - o, s = ut.getBlocksCount(e, i), c = r % s, a = s - c, u = Math.floor(r / s), l = Math.floor(n / s), B = l + 1, p = u - l, f = new Ce(p);
  let y = 0;
  const w = new Array(s), A = new Array(s);
  let m = 0;
  const C = new Uint8Array(t.buffer);
  for (let T = 0; T < s; T++) {
    const b = T < a ? l : B;
    w[T] = C.slice(y, y + b), A[T] = f.encode(w[T]), y += b, m = Math.max(m, b);
  }
  const h = new Uint8Array(r);
  let d = 0, E, _;
  for (E = 0; E < m; E++)
    for (_ = 0; _ < s; _++)
      E < w[_].length && (h[d++] = w[_][E]);
  for (E = 0; E < p; E++)
    for (_ = 0; _ < s; _++)
      h[d++] = A[_][E];
  return h;
}
function Me(t, e, i, r) {
  let o;
  if (Array.isArray(t))
    o = rt.fromArray(t);
  else if (typeof t == "string") {
    let u = e;
    if (!u) {
      const l = rt.rawSplit(t);
      u = q.getBestVersionForData(l, i);
    }
    o = rt.fromString(t, u || 40);
  } else
    throw new Error("Invalid data");
  const n = q.getBestVersionForData(o, i);
  if (!n)
    throw new Error("The amount of data is too big to be stored in a QR Code");
  if (!e)
    e = n;
  else if (e < n)
    throw new Error(
      `
The chosen QR Code version cannot contain this amount of data.
Minimum version required to store current data is: ` + n + `.
`
    );
  const s = be(e, i, o), c = x.getSymbolSize(e), a = new pe(c);
  return _e(a, e), Te(a), Ae(a, e), it(a, i, 0), e >= 7 && Ie(a, e), Ne(a, s), isNaN(r) && (r = ct.getBestMask(
    a,
    it.bind(null, a, i)
  )), ct.applyMask(r, a), it(a, i, r), {
    modules: a,
    version: e,
    errorCorrectionLevel: i,
    maskPattern: r,
    segments: o
  };
}
Et.create = function(e, i) {
  if (typeof e > "u" || e === "")
    throw new Error("No input text");
  let r = ot.M, o, n;
  return typeof i < "u" && (r = ot.from(i.errorCorrectionLevel, ot.M), o = q.from(i.version), n = ct.from(i.maskPattern), i.toSJISFunc && x.setToSJISFunction(i.toSJISFunc)), Me(e, o, r, n);
};
var kt = {}, gt = {};
(function(t) {
  function e(i) {
    if (typeof i == "number" && (i = i.toString()), typeof i != "string")
      throw new Error("Color should be defined as hex string");
    let r = i.slice().replace("#", "").split("");
    if (r.length < 3 || r.length === 5 || r.length > 8)
      throw new Error("Invalid hex color: " + i);
    (r.length === 3 || r.length === 4) && (r = Array.prototype.concat.apply([], r.map(function(n) {
      return [n, n];
    }))), r.length === 6 && r.push("F", "F");
    const o = parseInt(r.join(""), 16);
    return {
      r: o >> 24 & 255,
      g: o >> 16 & 255,
      b: o >> 8 & 255,
      a: o & 255,
      hex: "#" + r.slice(0, 6).join("")
    };
  }
  t.getOptions = function(r) {
    r || (r = {}), r.color || (r.color = {});
    const o = typeof r.margin > "u" || r.margin === null || r.margin < 0 ? 4 : r.margin, n = r.width && r.width >= 21 ? r.width : void 0, s = r.scale || 4;
    return {
      width: n,
      scale: n ? 4 : s,
      margin: o,
      color: {
        dark: e(r.color.dark || "#000000ff"),
        light: e(r.color.light || "#ffffffff")
      },
      type: r.type,
      rendererOpts: r.rendererOpts || {}
    };
  }, t.getScale = function(r, o) {
    return o.width && o.width >= r + o.margin * 2 ? o.width / (r + o.margin * 2) : o.scale;
  }, t.getImageWidth = function(r, o) {
    const n = t.getScale(r, o);
    return Math.floor((r + o.margin * 2) * n);
  }, t.qrToImageData = function(r, o, n) {
    const s = o.modules.size, c = o.modules.data, a = t.getScale(s, n), u = Math.floor((s + n.margin * 2) * a), l = n.margin * a, B = [n.color.light, n.color.dark];
    for (let p = 0; p < u; p++)
      for (let f = 0; f < u; f++) {
        let y = (p * u + f) * 4, w = n.color.light;
        if (p >= l && f >= l && p < u - l && f < u - l) {
          const A = Math.floor((p - l) / a), m = Math.floor((f - l) / a);
          w = B[c[A * s + m] ? 1 : 0];
        }
        r[y++] = w.r, r[y++] = w.g, r[y++] = w.b, r[y] = w.a;
      }
  };
})(gt);
(function(t) {
  const e = gt;
  function i(o, n, s) {
    o.clearRect(0, 0, n.width, n.height), n.style || (n.style = {}), n.height = s, n.width = s, n.style.height = s + "px", n.style.width = s + "px";
  }
  function r() {
    try {
      return document.createElement("canvas");
    } catch {
      throw new Error("You need to specify a canvas element");
    }
  }
  t.render = function(n, s, c) {
    let a = c, u = s;
    typeof a > "u" && (!s || !s.getContext) && (a = s, s = void 0), s || (u = r()), a = e.getOptions(a);
    const l = e.getImageWidth(n.modules.size, a), B = u.getContext("2d"), p = B.createImageData(l, l);
    return e.qrToImageData(p.data, n, a), i(B, u, l), B.putImageData(p, 0, 0), u;
  }, t.renderToDataURL = function(n, s, c) {
    let a = c;
    typeof a > "u" && (!s || !s.getContext) && (a = s, s = void 0), a || (a = {});
    const u = t.render(n, s, a), l = a.type || "image/png", B = a.rendererOpts || {};
    return u.toDataURL(l, B.quality);
  };
})(kt);
var Lt = {};
const Se = gt;
function wt(t, e) {
  const i = t.a / 255, r = e + '="' + t.hex + '"';
  return i < 1 ? r + " " + e + '-opacity="' + i.toFixed(2).slice(1) + '"' : r;
}
function st(t, e, i) {
  let r = t + e;
  return typeof i < "u" && (r += " " + i), r;
}
function Pe(t, e, i) {
  let r = "", o = 0, n = !1, s = 0;
  for (let c = 0; c < t.length; c++) {
    const a = Math.floor(c % e), u = Math.floor(c / e);
    !a && !n && (n = !0), t[c] ? (s++, c > 0 && a > 0 && t[c - 1] || (r += n ? st("M", a + i, 0.5 + u + i) : st("m", o, 0), o = 0, n = !1), a + 1 < e && t[c + 1] || (r += st("h", s), s = 0)) : o++;
  }
  return r;
}
Lt.render = function(e, i, r) {
  const o = Se.getOptions(i), n = e.modules.size, s = e.modules.data, c = n + o.margin * 2, a = o.color.light.a ? "<path " + wt(o.color.light, "fill") + ' d="M0 0h' + c + "v" + c + 'H0z"/>' : "", u = "<path " + wt(o.color.dark, "stroke") + ' d="' + Pe(s, n, o.margin) + '"/>', l = 'viewBox="0 0 ' + c + " " + c + '"', p = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + l + ' shape-rendering="crispEdges">' + a + u + `</svg>
`;
  return typeof r == "function" && r(null, p), p;
};
const Re = jt, lt = Et, Ut = kt, ke = Lt;
function mt(t, e, i, r, o) {
  const n = [].slice.call(arguments, 1), s = n.length, c = typeof n[s - 1] == "function";
  if (!c && !Re())
    throw new Error("Callback required as last argument");
  if (c) {
    if (s < 2)
      throw new Error("Too few arguments provided");
    s === 2 ? (o = i, i = e, e = r = void 0) : s === 3 && (e.getContext && typeof o > "u" ? (o = r, r = void 0) : (o = r, r = i, i = e, e = void 0));
  } else {
    if (s < 1)
      throw new Error("Too few arguments provided");
    return s === 1 ? (i = e, e = r = void 0) : s === 2 && !e.getContext && (r = i, i = e, e = void 0), new Promise(function(a, u) {
      try {
        const l = lt.create(i, r);
        a(t(l, e, r));
      } catch (l) {
        u(l);
      }
    });
  }
  try {
    const a = lt.create(i, r);
    o(null, t(a, e, r));
  } catch (a) {
    o(a);
  }
}
K.create = lt.create;
K.toCanvas = mt.bind(null, Ut.render);
K.toDataURL = mt.bind(null, Ut.renderToDataURL);
K.toString = mt.bind(null, function(t, e, i) {
  return ke.render(t, i);
});
const Le = (t = {
  domID: "",
  text: "",
  width: "100px",
  height: "100px",
  colorDark: "#000",
  colorLight: "#fff",
  margin: 1
}) => {
  K.toCanvas(t.text, {
    errorCorrectionLevel: "L",
    margin: t.margin,
    scal: 177,
    color: {
      dark: t.colorDark,
      light: t.colorLight
    },
    rendererOpts: {
      quality: 0.9
    }
  }).then((e) => {
    e.style.height = t.height, e.style.width = t.width;
    const i = document.getElementById(t.domID);
    i.innerHTML = "", i.appendChild(e);
  }).catch((e) => {
    console.log("err", e);
  });
}, Ue = (t) => t != null && t.startsWith("http") || t != null && t.startsWith("data:image") ? t : t ? `data:image/png;base64,${t}` : "";
const Fe = (t, e) => {
  const i = t.__vccOpts || t;
  for (const [r, o] of e)
    i[r] = o;
  return i;
}, ve = Ft({
  name: "admissionTicket",
  props: {
    childData: {
      type: Object,
      default: () => ({})
    }
  },
  setup: function(t) {
    const e = vt({
      ticketDataCopy: {}
    }), i = () => {
      Le({
        domID: `admissionTicketCardQRcode${e.ticketDataCopy.studentCode}`,
        text: `\u7F16\u53F7:${e.ticketDataCopy.studentCode};\r
\u59D3\u540D:${e.ticketDataCopy.name};\r
\u8EAB\u4EFD\u8BC1\u53F7:${e.ticketDataCopy.cardNo};\r
\u7533\u8BF7\u7C7B\u522B\uFF1A${e.ticketDataCopy.applyType}`,
        width: "100px",
        height: "100px"
      });
    };
    return zt(() => t.childData, (r) => {
      r && Object.keys(r).length && (e.ticketDataCopy = { ...r }, i());
    }, {
      deep: !0,
      immediate: !0
    }), {
      ...$t(e),
      getImage: Ue
    };
  }
}), I = (t) => (Ht("data-v-bd4ebde3"), t = t(), Vt(), t), ze = { class: "titcket" }, $e = {
  cellspacing: "0",
  cellpadding: "0"
}, He = {
  class: "title",
  colspan: "5"
}, Ve = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", {
  class: "title",
  colspan: "4"
}, "\u51C6\u8003\u8BC1", -1)), Ke = { rowspan: "9" }, Je = ["src"], Oe = ["id"], Ye = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u59D3\u540D", -1)), je = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u8EAB\u4EFD\u8BC1\u53F7", -1)), Qe = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u51C6\u8003\u8BC1\u53F7", -1)), Ge = { colspan: "3" }, qe = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u8003\u573A\u540D\u79F0", -1)), We = { colspan: "3" }, Ze = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u8003\u573A\u5730\u70B9", -1)), Xe = { colspan: "3" }, xe = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u62A5\u8003\u7C7B\u522B", -1)), tn = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u8003\u8BD5\u79D1\u76EE", -1)), en = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4", -1)), nn = { colspan: "3" }, on = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u8003\u8BD5\u7ED3\u675F\u65F6\u95F4", -1)), rn = { colspan: "3" }, sn = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u7406\u8BBA\u8003\u8BD5\u6B21\u6570", -1)), an = { colspan: "3" }, cn = { key: 0 }, un = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u8003\u8BD5\u987B\u77E5", -1)), ln = { colspan: "4" }, fn = ["innerHTML"], dn = { key: 1 }, hn = /* @__PURE__ */ I(() => /* @__PURE__ */ g("th", null, "\u51C6\u8003\u8BC1\u5907\u6CE8", -1)), gn = { colspan: "4" }, mn = ["innerHTML"], pn = /* @__PURE__ */ I(() => /* @__PURE__ */ g("br", null, null, -1)), yn = /* @__PURE__ */ I(() => /* @__PURE__ */ g("br", null, null, -1));
function wn(t, e, i, r, o, n) {
  return O(), Y("div", ze, [
    g("table", $e, [
      g("tr", null, [
        g("th", He, D(t.ticketDataCopy.applyType) + "\u4ECE\u4E1A\u8D44\u683C\u8003\u6838", 1)
      ]),
      g("tr", null, [
        Ve,
        g("td", Ke, [
          t.ticketDataCopy.headImg ? (O(), Y("img", {
            key: 0,
            class: "head",
            src: t.getImage(t.ticketDataCopy.headImg)
          }, null, 8, Je)) : et("v-if", !0),
          g("div", {
            id: "admissionTicketCardQRcode" + t.ticketDataCopy.studentCode,
            class: "admissionTicketCardQRcode"
          }, null, 8, Oe)
        ])
      ]),
      g("tr", null, [
        Ye,
        g("td", null, D(t.ticketDataCopy.name), 1),
        je,
        g("td", null, D(t.ticketDataCopy.cardNo), 1)
      ]),
      g("tr", null, [
        Qe,
        g("td", Ge, D(t.ticketDataCopy.studentCode), 1)
      ]),
      g("tr", null, [
        qe,
        g("td", We, D(t.ticketDataCopy.examAddressName), 1)
      ]),
      g("tr", null, [
        Ze,
        g("td", Xe, D(t.ticketDataCopy.examAddress), 1)
      ]),
      g("tr", null, [
        xe,
        g("td", null, D(t.ticketDataCopy.applyType), 1),
        tn,
        g("td", null, D(t.ticketDataCopy.examSubject), 1)
      ]),
      g("tr", null, [
        en,
        g("td", nn, D(t.ticketDataCopy.startDate), 1)
      ]),
      g("tr", null, [
        on,
        g("td", rn, D(t.ticketDataCopy.endDate), 1)
      ]),
      g("tr", null, [
        sn,
        g("td", an, D(t.ticketDataCopy.theoryExamCount), 1)
      ]),
      t.ticketDataCopy.examDocketNotice ? (O(), Y("tr", cn, [
        un,
        g("td", ln, [
          g("div", {
            class: "textinfo",
            innerHTML: t.ticketDataCopy.examDocketNotice
          }, null, 8, fn)
        ])
      ])) : et("v-if", !0),
      t.ticketDataCopy.examDocketRemark ? (O(), Y("tr", dn, [
        hn,
        g("td", gn, [
          g("div", {
            class: "textinfo",
            innerHTML: t.ticketDataCopy.examDocketRemark
          }, null, 8, mn)
        ])
      ])) : et("v-if", !0)
    ]),
    pn,
    yn
  ]);
}
const Cn = /* @__PURE__ */ Fe(ve, [["render", wn], ["__scopeId", "data-v-bd4ebde3"]]), _n = Yt(Cn);
export {
  _n as default
};
